//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this sample source code is subject to the terms of the Microsoft
// license agreement under which you licensed this sample source code. If
// you did not accept the terms of the license agreement, you are not
// authorized to use this sample source code. For the terms of the license,
// please see the license agreement between you and Microsoft or, if applicable,
// see the LICENSE.RTF on your install media or the root of your tools installation.
// THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES OR INDEMNITIES.
//
//////////////////////////////////////////////////////////////////////////
// Copyright (c) 1999-2000 Microsoft Corporation.  All rights reserved. //
//////////////////////////////////////////////////////////////////////////

#ifndef _RIL_DEBUG_H_
#define _RIL_DEBUG_H_

// Debug Zone defines
#define ZONEID_ERROR        0
#define ZONEID_INFO         1
#define ZONEID_TRACE        2
#define ZONEID_FUNCTION     3
#define ZONEID_READ         4
#define ZONEID_NDIS         5
#define ZONEID_NDISPKTS		6


#define ZONEMASK_ERROR      (1<<ZONEID_ERROR)
#define ZONEMASK_INFO       (1<<ZONEID_INFO)
#define ZONEMASK_TRACE      (1<<ZONEID_TRACE)
#define ZONEMASK_FUNCTION   (1<<ZONEID_FUNCTION)
#define ZONEMASK_READ       (1<<ZONEID_READ)
#define ZONEMASK_NDIS       (1<<ZONEID_NDIS)
#define ZONEMASK_NDISPKTS	(1<<ZONEID_NDISPKTS)

#ifdef DEBUG
// These macros are used as the first arg to DEBUGMSG.
#define ZONE_ERROR          DEBUGZONE(ZONEID_ERROR)
#define ZONE_INFO           DEBUGZONE(ZONEID_INFO)
#define ZONE_TRACE          DEBUGZONE(ZONEID_TRACE)
#define ZONE_FUNCTION       DEBUGZONE(ZONEID_FUNCTION)
#define ZONE_READ           DEBUGZONE(ZONEID_READ)
#define ZONE_NDIS			DEBUGZONE(ZONEID_NDIS)
#define ZONE_NDISPKTS		DEBUGZONE(ZONEID_NDISPKTS)

#else
// For release configurations, these conditionals are always 0.
#define ZONE_ERROR          0
#define ZONE_INFO           0
#define ZONE_TRACE          0
#define ZONE_FUNCTION       0
#define ZONE_READ           0
#define ZONE_NDIS           0
#define ZONE_NDISPKTS		0
#endif


#endif // _RIL_DEBUG_H_

